Package-level declarations

Types

Link copied to clipboard
class AbsPos(p: Int = 0) : Pos

An absolute Pos. Mutation of this pos will directly change it's position with no other offsets or other side effects.

Link copied to clipboard
class ImmutablePos(p: Int = 0) : Pos

An immutable Pos. Typically used as a position "anchor" in other positions

Link copied to clipboard
open class ImmutableRelPos @JvmOverloads constructor(parent: Pos, p: Int = 0) : Pos

A relative Pos. Offsets a parent Pos. Mutation of this pos will NOT alter the offset.

Link copied to clipboard
open class ImmutableSuppliedPos(parent: Pos, offset: Supplier<Int>) : Pos

A relative Pos wth an offset supplier. Offsets a parent Pos. This position is immutable in the direct sense. Mutation of this pos via set, inc, and dec does not affect position.

Link copied to clipboard
interface Pos : Supplier<Int>

Defines the mutable position of something

Link copied to clipboard
class ReferencePos(reference: Supplier<Int>) : Pos

An immutable Pos based on a reference value supplier. Mutation of this pos will have no effect.

Link copied to clipboard
open class RelPos @JvmOverloads constructor(parent: Pos, p: Int = 0) : Pos

A relative Pos. Offsets a parent Pos. Mutation of this pos will alter the offset.

Link copied to clipboard
open class SuppliedPos(parent: Pos, p: Int, offset: Supplier<Int>) : Pos

A relative Pos wth a secondary offset supplier. Offsets a parent Pos. Mutation of this pos will alter the offset.